#app {
    width: 100%;
    height: 100%;
}
input, textarea {
    -webkit-user-select: auto !important;
    -khtml-user-select: auto !important;
    -moz-user-select: auto !important;
    -ms-user-select: auto !important;
    -o-user-select: auto !important;
    user-select: auto !important;
}
img {
    pointer-events: none !important;
}
.img-div {
    display: flex;
    align-items: center;
}
.img-div-l {
    flex-grow: 1;
    margin-left: auto;
}
.program-main {
    display: flex;
    position: relative;
    flex-direction: column;
    height: 100%;
    background-color: #FFF;
}

.program-main .header_tit {
    z-index: 3;
    background-color: #FFF;
    position: relative;
}

.program-titles {
    height: 1rem;
    margin: 0.2rem 0.3rem;
    border-bottom: 1px solid #e9e7e7;
    background-color: #FFF;
}

.my-popover {
    position: relative;
    display: none;
    z-index: 2;
    background-color: rgb(74, 74, 74);
    color: rgb(255, 255, 255);
    height: 30px;
    line-height: 30px;
    border-radius: 10px;
    width: 60px;
    text-align: center;
    font-size: 14px;
    color: #FFF;
}

.my-popover .edit-arrow {
    position: absolute;
    border-color: transparent;
    border-style: solid;
    border-width: 6px;
    color: #4a4a4a;
    border-top-color: currentColor;
    border-bottom-width: 0;
    -webkit-transform: translate(-50%, 100%);
    transform: translate(-50%, 100%);
    margin-left: 30px;
    margin-top: -6px;
}

.step-row {
    height: 100%;
    text-align: center;
    display: flex;
    align-items: center;
}

.pre-next {
    display: flex;
    padding-right: 0.3rem;
}

.pre {
    margin: 0 .2rem;
    width: .7rem;
    height: .5rem;
}

.next {
    width: .7rem;
    height: .5rem;
}

.program-step img {
    height: 30px;
}

.summary-step img {
    height: 22px;
}

.assist-step img {
    height: 35px;
}

.program-main .van-divider {
    position: relative;
    margin: 10px 0px !important;
}

.program-title {
    width: 33%;
    text-align: center;
}

.active-title {
    color: #000;
}

.inactive-title {
    color: #ccc;
}

.main-body {
    height: calc(100% - 2.7rem);
}

.program-bottom {
    height: 1rem;
    padding: 0px 5px;
    margin-bottom: 0.2rem;
    display: flex;
}

.program-bottom .bottom-left {
    width: 25%;
    margin-left: 8%;
    text-align: center;
}

.program-bottom .bottom-right {
    width: 59%;
    height: 0.9rem;
    display: flex;
    margin: 0px 4%;
    text-align: center;
    border-radius: 25px;
    border: solid 1px #4b4bb9;
}

.send-content {
    width: 70%;
    align-self: center;
    overflow: hidden;
    padding-left: 5px;
    height: calc(100% - 10px);
}

.content-text {
    border: none;
    margin: 0px 5px;
}

.program-bottom .van-button--normal {
    border-radius: 25px;
    border-color: #4b4bb9;
    width: 100%;
    height: 0.9rem;
}

.step1 {
    flex: 1;
    padding-bottom: 1.2rem;
    overflow-y: auto;
    /* height: calc(100% - 4rem); */
}

/* 主题 */
.subject {
    height: 2.5rem;
    padding: 0.3rem;
    /* background-color: #999; */
}

.first_span_img {
    margin-left: 3px;
    color: red;
    font-size: 18px;
}

.field-label {
    line-height: 0.5rem;
}

.tit_text {
    font-weight: 600;
    color: #2d343c;
    font-size: 16px;
}
.max-tip{
    color: #999;
    font-size: 0.2rem;
}

.subject-title, .nextPlan-title {
    margin-top: 0.1rem;
    display: flex;
    padding: 0.2rem;
    background-color: #F0F3F8;
    border-radius: 5px;
}

.subject-input, .nextPlan-input {
    height: 0.6rem;
    line-height: 0.6rem;
    border: none;
    background-color: #F0F3F8;
    font-size: 16px;
    width: calc(100% - 0.4rem);
}

.subject-voice, .nextPlan-voice {
    width: 0.4rem;
    margin: auto;
}
.area-title {
    margin-top: 0.1rem;
    display: flex;
    padding: 0.2rem;
    background-color: #F0F3F8;
    border-radius: 5px;
}

.area-input {
    line-height: 0.6rem;
    border: none;
    background-color: #F0F3F8;
    font-size: 16px;
    width: calc(100% - 0.4rem);
    padding: 0px;
    margin-bottom: 0px;
}

.area-voice {
    width: 0.4rem;
    margin: auto;
    margin-bottom: 0;
}
/* 模板 */
.model {
    padding: 0rem 0.3rem 0.3rem 0.3rem;
}

.model-list {
    margin-top: 0.2rem;
    margin-right: 0.2rem;
    overflow-x: auto;
    display: inline-block;
}

.m-list-item {
    position: relative;
    border-radius: 5px;
    border: 1px solid #e9e6e6;
    height: 2.5rem;
    width: 1.8rem;
}
.m-list-item-radio{
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 18px;
}

.m-selected {
    border: 1px solid #6090be;
}

.model-logo {
    padding: 0.1rem;
    width: 100%;
}

.m-scroll {
    white-space: nowrap;
    overflow-x: auto;
}

.model-name {
    text-align: center;
    margin-top: 0.2rem;
    width: 1.8rem;
    word-break: break-all;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

/* 内容要求 */
.content-need, .nextPlan {
    padding: 0rem 0.3rem 0.3rem 0.3rem;
}

/* 素材 */
.material-need {
    padding: 0.1rem 0.3rem 0.3rem 0.3rem;
}

.material {
    margin-top: 0.1rem;
}

.tip-close {
    position: relative;
    float: right;
    width: 18px;
    height: 18px;
}

.tip-close-img {
    position: absolute;
    right: -0.3rem;
    height: 18px;
    width: 18px;
}

.file-title {
    word-break: break-all;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.upload-prompt {
    width: 100%; /* 父容器宽度（可调整） */
    height: 3rem; /* 固定高度（用rem单位） */
    display: flex;
    flex-direction: column;
    background-color: #F8F9FD;
    /* 添加虚线边框样式 */
    border: 0.03rem dashed #ccc; /* 2px是边框宽度，#ccc是灰色，你可以调整这些值 */
    gap: 0.08rem;    
    /* 四个角变成半椭圆形状 */
    border-radius: 0.3rem;  /* 调整这个值让角更圆（如 20px、30px） */
    min-height: 3rem; /* 根据图片实际高度调整 */
}
.upload-prompt-image{
    width: 1.3rem;   /* 固定宽度 */
    height: auto; 
    margin: 0.8rem auto 0;
}
.prompt-text {
    font-size: 0.25rem;      /* 文字大小（14px） */
    color:#7e8389;              /* 文字颜色 */
    text-align: center;   
}
.prompt-text2 {
    font-size: 0.25rem;      /* 文字大小（14px） */
    color: #bfbfbf;              /* 文字颜色 */
    text-align: center;   
}

.empty-file {
    width: 100%;
}

.hasnt-file {
    max-height: 2.5rem;
}

.has-file {
    border-radius: 10px;
    border: 1px solid #6090be;
    max-height: 2.6rem;
    overflow-y: auto;
    border-style: dashed;
    border-bottom: none;
    margin: 0.33rem 0rem 0rem 0rem;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}
.has-file-upload{
    border-radius: 10px;
    border: 1px solid #6090be;
    border-style: dashed;
    border-top: none;
    margin: 0rem 0rem 0.33rem 0rem;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    height: 1.5rem;
    display: flex;
    background: #F7F9FC;
    border-top: 1px solid #ebeaea;
}
.has-file-upload img {
    margin: auto;
}

.has-file .item {
    padding: 0.1rem 0.3rem 0rem 0.3rem;
    background-color: #F7F9FC;
}

.row {
    border-bottom: 1px solid #e9e5e5;
    height: 1.2rem;
    background-color: #F7F9FC;
}

.imgDiv {
    float: left;
    margin-top: 0.2rem;
    margin-right: 0.3rem;
}

.img {
    height: 0.8rem;
    width: 0.7rem;
}

.title {
    padding-top: 0.2rem;
    font-weight: bolder;
    font-size: 16px;
    color: black;
}

.desc {
    padding-top: 0.1rem;
    font-size: 16px;
    color: #999;
}

/* 按钮 */
.bottom {
    position: absolute;
     background-color: #FFFFFF;
     bottom: 0rem !important;
     bottom: calc(0 + constant(safe-area-inset-bottom));
     bottom: calc(0 + env(safe-area-inset-bottom));
    /* bottom: 0rem; */
    padding: 0.2rem 0.3rem;
    width: 100%;
}

.submit-btn {
    background-color: #6090BE;
    color: #FFF;
    width: 100%;
    border-radius: 25px;
    height: 1rem;
}

.outline {
    /* padding: 0.3rem; */
    height: calc(100% - 2.6rem);
    /* background-color: #F6F7F9; */
    border-radius: 15px;
    border-top-left-radius: 0px;
    margin: 0 0.3rem;
}

.outline-item {
    height: 100%;
    background-color: #F6F7F9;
    border-top-right-radius: 15px;
    /* margin-bottom: 0.5rem; */
}

.outline-content {
    padding: 0.3rem;
    overflow-y: auto;
    word-break: break-all;
    max-height: calc(100% - 1rem);
    background-color: #F6F7F9;
    border-top-right-radius: 15px;
}
.outline-btn {
    display: flex;
    justify-content: end;
    background-color: #F6F7F9;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}
.outline-btn-item {
    width: 100%;
    border-top: 1px solid #ebe8e8;
}
.outline-btn img {
    padding: 0.3rem 0.3rem;
    display: flex;
    float: right;
}
.p-edit-sheet {
    height: calc(100% - 1rem - 52px);
    min-height: 3rem;
    /* height: 100%; */
}

.p-edit-item {
    /* padding: 0.3rem; */
    padding: 0.3rem 0.6rem;
    height: 100%;
}

.p-edit-cont {
    overflow-y: auto;
    padding: 0.1rem;
    height: calc(100% - 1.5rem);
    /* height: 300px; */
    word-break: break-all;
}

.p-edit-cont p {
    height: 0.3rem;
}

.p-edit-foot {
    /* position: absolute; */
    margin: 0.3rem 0rem;
    display: flex;
    justify-content: center;
    width: 100%;
}

.p-edit-btn-cancle {
    width: 40%;
    border-radius: 25px;
    background-color: #EEF0F5;
    height: 0.8rem;
    margin: 0 0.3rem;
    font-size: 0.3rem;
}

.p-edit-btn-confirm {
    width: 40%;
    border-radius: 25px;
    background-color: #6090BE;
    color: #FFF;
    height: 0.8rem;
    margin: 0 0.3rem;
    font-size: 0.3rem;
}

.p-edit-btn-cancle .van-button__icon {
    font-size: 1em !important;
    line-height: normal !important;
}

.stop-btn{
    background-color: #FFF;
    border: 1px solid #999999;
}

.extend-edit-btn-cancle {
    width: 35%;
    border-radius: 25px;
    background-color: #EEF0F5;
    height: 0.8rem;
    margin: 0rem 0rem 0rem 0.3rem;
    font-size: 0.3rem;
}

.extend-edit-btn-confirm {
    width: 35%;
    border-radius: 25px;
    background-color: #6090BE;
    color: #FFF;
    height: 0.8rem;
    margin: 0rem 0rem 0rem 0.3rem;
    font-size: 0.3rem;
}

.extend-edit-item {
    /* padding: 0.3rem; */
    padding: 0.3rem 0.6rem;
    height: calc(100% - 1.2rem);
}

.extend-edit-cont {
    overflow-y: auto;
    height: 100%;
    /* height: 300px; */
    word-break: break-all;
}

.extend-edit-foot {
    position: absolute;
    margin: 0.3rem 0rem;
    display: flex;
    justify-content: center;
    width: 100%;
    bottom: 0rem;
    display: flex;
    /* justify-content: center; */
    align-items: center;
}

.extend-rewrite-btn {
    width: 36px;
    height: 36px;
}
/* 生成内容 */
.step2 {
    height: calc(100% - 2.2rem);
}

.step2-main {
    padding: 0rem 0.3rem;
    padding-bottom: 0.2rem;
}
.no-file {
    height: calc(100% - 2.3rem);
}
.add-file {
    height: calc(100% - 3.6rem);
}

.step2-f {
    background-color: #F6F7F9;
    border-radius: 15px;
    border-top-left-radius: 0px;
    max-height: 100%;
    overflow-y: auto;
}

.step2-content {
    padding: 0.3rem;
    line-height: 0.5rem;
    overflow-y: auto;
    word-break: break-all;
    font-size: 0.3rem;
}

.step2-bottom {
    width: 100%;
    position: absolute;
    height: 2.3rem;
    z-index: 3;
    background-color: #FFF;
}

.quick-btn {
    height: 0.6rem;
    margin: 0px 20px;
    margin-bottom: 0.2rem;
}

/* 问一问 PPT */
.spanBackGround {
    display: inline-block;
    padding: 5px 10px;
    background-color: #f0f0f0;
    border-radius: 18px;
    font-size: 14px;
    color: #999;
    margin-right: 0.2rem;
}

.quick-sel {
    background-color: #6090BE !important;
    color: #FFF;
}

/* 下方提问框 */
.search {
    /* position:absolute; */
    height: 1rem;
    width: calc(100vw - 40px);
    margin: 0 20px;
    border: 1px solid #c6c6ce;
    border-radius: 45px;
    display: flex;
}

.voice-img {
    margin: auto 0.3rem;
    text-align: center;
    width: 0.4rem;
}

.upload-img {
    margin: auto 0.1rem;
    text-align: center;
    width: 0.5rem;
}

.send-img {
    margin: auto 0.1rem;
    text-align: center;
    width: 0.7rem;
}

.search-text {
    border: 0px;
    height: 0.8rem;
    margin: auto 0px;
    width: calc(100% - 2.5rem);
    /* margin-left: 15px; */
    padding: 10px 0px;
    /* color: #c6c6ce; */
}

.ml15 {
    margin-left: 0.4rem !important;
    width: calc(100% - 1.5rem) !important;
}

::-webkit-scrollbar {
    display: none;
}
.has-file::-webkit-scrollbar {
    -webkit-appearance: none !important;
    width: 3px;
    /* 设置滚动条背景色 */
    background: #F7F9FC;
    display: unset;
}
.has-file::-webkit-scrollbar-thumb {
    /* 滚动条滑块圆角 */
    border-radius: 8px;
    /* 滚动条滑块背景色 */
    background: #6090BE;
}
/* 生成校核 */
.step3 {
    height: calc(100% - 1.4rem - 52px);
}

.step3-main {
    height: calc(100% - 2.5rem);
    padding: 0rem 0.3rem;
}

.step3-f {
    background-color: #F6F7F9;
    border-radius: 15px;
    border-top-left-radius: 0px;
    max-height: 100%;
    overflow-y: auto;
    padding-bottom:0.2rem;
}
.step3-f-2 {
    background-color: #F6F7F9;
    border-radius: 15px;
    border-top-right-radius: 0px;
    border-top-left-radius: 0px;
    max-height: 100%;
    padding: 0.4rem 0rem;
}

.step3-content {
    padding: 0.3rem;
    line-height: 0.5rem;
    overflow-y: auto;
    word-break: break-all;
    font-size: 0.3rem;
}

.step3-quick-btn {
    height: 0.8rem;
    display: flex;
    flex-direction: row;
}
.step3-spanBackGround{
    display: inline-block;
    padding: 0.1rem 0.2rem;
    border-radius: 25px;
    font-size: 0.3rem;
    /* background-color: #EEF4F8; */
    background-color: #FFF;
    /* line-height: 0.5rem; */
    border: 1px solid #E5E5E5;
}
.step3-badge {
    flex: 1;
}
.step3-badge .van-badge--fixed{
    right:0.2rem;
}
.step3-bottom{
    position: absolute;
    bottom: 0.5rem;
    padding: 0 0.3rem;
    width: 100%;
}
.step3-bottom-btn{
    margin-top: 0.4rem;
}
.step3-btn-l {
    width: 40%;
    border-radius: 10px;
    background-color: #EEF4F8;
    height: 0.8rem;
    margin: 0 0.3rem;
    color: #6090BE;
    font-size: 16px;
}
.step3-btn-r {
    width: 40%;
    border-radius: 10px;
    background-color: #EEF4F8;
    height: 0.8rem;
    margin: 0 0.3rem;
    color: #6090BE;
    font-size: 16px;
}
/* 生成方案 */
.program-result {
    padding: 0rem 0.3rem;
}

.program {
    background-color: #F6F7F9;
    border-radius: 15px;
    border-top-left-radius: 0px;
    margin-bottom: 0.3rem;
}

.program-item {
    display: flex;
    padding: 0.5rem 0.5rem 0.1rem 0.5rem;
    width: 100%;
}

.program-item-left {
    width: 0.8rem;
    display: flex;
    align-items: center;
}

.program-item-left img {
    height: 0.8rem;
}

.program-item-right {
    width: calc(100% - 1rem);
    height: 1rem;
}

.program-item-right2 {
    width: calc(100% - 1rem);
    height: 1rem;
    display: flex;
}

.program-item-right2 img {
    height: 100%;
}

.program-item-right2 .loading-tip {
    /* align-items: end; */
    display: flex;
    margin-left: 0.2rem;
    font-size: 16px;
    font-weight: 400;
    flex-direction: column-reverse;
}

.right-title {
    font-size: 16px;
    font-weight: 600;
    padding-left: 10px;
    white-space: nowrap;
    overflow: hidden;
    /* 防止文本溢出 */
    text-overflow: ellipsis;
    /* 当文本溢出时显示省略号 */
    line-height: 0.5rem;
}

.right-desc {
    font-size: 16px;
    padding-left: 10px;
    white-space: nowrap;
    overflow: hidden;
    /* 防止文本溢出 */
    text-overflow: ellipsis;
    /* 当文本溢出时显示省略号 */
    color: #999;
}


.program-btn {
    /* display: flex;
    justify-content: end;
    padding-right: 0.3rem; */
    display: flex;
    position: relative;
    text-align: right;
    padding-right: 0.3rem;
    height: 0.8rem;
}

.program-btn img {
    padding-left: 0.2rem;
    padding-bottom: 0.3rem;
    height: 43px;
}

.van-button__icon {
    font-size: 1em !important;
    line-height: normal !important;
}
.error-dialog{
    
}
.error-dialog .van-dialog {
    bottom: 0.3rem;
    top: unset;
    /* border: 1px solid #999; */
    box-shadow: 3px 5px 5px 2px #F2F8FF, 1px 5px 5px 2px #F2F8FF;
}
.error-dialog .dialog_title {
    float: left;
    font-size: 18px;
    width: 100%;
    line-height: 24px;
    text-align: left;
    color: red;
    font-weight: 500;
    padding-left: 0.3rem;
}
.dialog_content {
    max-height: 5rem;
    margin: 0.3rem;
    overflow: auto;
    width: calc(100% - 0.6rem);
}
.err-item{
    display: flex;
    align-items: center;
    height: 0.8rem;
}
.err-cont {
    width: calc(100% - 1.1rem);
    word-break: break-all;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.err-btn {
    background-color: #6090BE;
    width: 1rem;
    text-align: center;
    color: #FFFF;
    height: 0.5rem;
    line-height: 0.5rem;
    float: right;
    position: absolute;
    right: 0.3rem;
    border-radius: 25px;
    font-size: 14px;
}
.close{
    position: absolute;
    top: 24px;
    right: .4rem;
    color:#999 !important;
}
.van-dialog__header {
    padding-top: 20px !important;
    line-height: 24px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
}
.van-action-sheet__header {
    font-size: 18px;
    font-weight: 600;
}
.cont-area {
    margin: 0.2rem 0.3rem;
    overflow-y: auto;
    max-height: 3rem;
    border: 1px solid #6090BE;
    border-radius: 15px;
    font-size: 16px !important;
}
.cont-area .van-field__control {
    font-size: 16px;
    word-break: break-all;
    line-height: 30px;
    color: #000;
}
.van-action-sheet{
    max-height: calc(100% - 1rem - 52px);
}
.p-edit {
    padding: 10px;
    border: 1px solid #6090BE;
    border-radius: 15px;
    background-color: #E7ECF3;
    padding-bottom: unset;
}

/* ppt模板相关 */
.ppt-model-sheet{
    height: calc(100% - 1rem - 52px);
    min-height: 3rem;
}
.ppt-subject {
    height: 1.8rem;
    padding: 0.2rem 0.3rem;
}
.gray_text {
    font-size: 14px;
    color: gray;
    margin-top: 0.2rem;
}
.model-area {
    /* height: calc(100% - 3.5rem); */
    overflow-y: auto;
    padding: 0rem 0.3rem;
    margin-top: 0.2rem;
    /* margin-bottom: 1.5rem; */
}
.ppt-item-list {
    display: block;
    text-align: center;
    height: 2.2rem;
    margin-top: 0.2rem;
}
.ppt-item {
    position: relative;
    display: inline-block;
    height: 2rem;
    width: 49.9%;
    margin-right: 1px;
    padding: 0.1rem;
}
.model-img {
    height: 100%;
    border-radius: 15px;
}
.ppt-model-bottom {
    position: absolute;
    bottom: 0rem;
    padding: 0.3rem;
    width: 100%;
}

.ppt-submit-btn {
    background-color: #D5C69F;
    color: #FFF;
    width: 100%;
    border-radius: 25px;
    height: 1rem;
}
.ppt-model-selected{
    /* border: 1px solid #D5C69F; */
}


.upload-file-div {
    display: flex;
    height: 1.1rem;
    line-height: 0.4rem;
    background-color: #F6F7F9;
    padding: 0.2rem;
    border-radius: 8px;
    margin: 0.1rem 0.3rem;
}

.upload-file-div .tip-f {
    width: 100%;
    display: flex;
}

.upload-file-div .chat-f-l {
    align-items: center;
    display: flex;
    width: 0.8rem;
}

.upload-file-div .chat-f-r {
    margin-left: 0.15rem;
    width: calc(100% - 1.2rem);
}

.upload-file-div .chat-f-r1 {
    font-weight: 600;
    font-size: 0.3rem;
    word-break: break-all;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.upload-file-div .chat-f-r2 {
    color: #aaa;
    font-size: 0.25rem;
}

.upload-file-div .file-close {
    width: 0.4rem;
    height: 0.4rem;
    text-align: right;
    position: absolute;
    top: 0.1rem;
    right: 0.2rem;
}

.upload-file-div .file-close img {
    width: 100%;
    height: 100%;
}

.file-row-r {
    display: flex;
    align-items: center;
}